package com.zhao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhao.pojo.Comment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface CommentMapper extends BaseMapper<Comment> {

    List<Comment> queryByFatherByArtid(@Param("id") Integer id, @Param("i") int i);

    List<Integer> queryAuthorByIds(@Param("author")String userAccount);
}
